/**
 * Copyright (c) 2019-2029, wwww.kiwipeach.cn (liuburu@qq.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * https://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package cn.kiwipeach.blog.database.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 描述：权限信息
 *
 * @author kiwipeach
 * @since 2.0
 */
@Data
@ToString
public class PermissionVO {
    /**
     * 功能ID
     */
    private String id;

    /**
     * 访问权限代码
     */
    private String code;

    /**
     * 模块名称
     */
    private String module;

    /**
     * 功能路径(页面或操作)
     */
    private String location;

    /**
     * 功能名称
     */
    @TableField("TEXT")
    private String text;

    /**
     * 父节点编号
     */
    private String parentid;

    /**
     * 同级权重
     */
    @TableField("WEIGHT")
    private String weight;

    /**
     * 功能菜单状态
     */
    private String status;

    /**
     * 节点类型（PAGE,FUNCTION)
     */
    private String nodeType;

    /**
     * 图标
     */
    private String icon;

    /**
     * 描述信息
     */
    private String description;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
